package com.kgc.cgapi.service;

import com.kgc.basic.util.ResponseMsg;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

public interface CGXJServiceApi {

    @RequestMapping("/getCGXJ")
    @ResponseBody
    public ResponseMsg getCGXJ(@RequestParam(name = "code") String code);


    @RequestMapping("/getCGXJPage")
    public ResponseMsg getCGXJPage(@RequestBody Map<String, Object> params);

    @RequestMapping("/addCGXJ")
    public ResponseMsg addCGXJ(@RequestBody Map<String, Object> params);

    @RequestMapping("/modiCGXJ")
    public ResponseMsg modiCGXJ(@RequestBody Map<String,Object> map);

    @RequestMapping("inputCGXJ")
    ResponseMsg inputCGXJ(@RequestBody Map<String,Object> map);

}
